package com.atguigu.crowd.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "short.message")
public class ShortMessageProperties {
    private String host;       //短信接口调用的URL地址
    private String path;        //具体发送短信功能的地址
    private String method;      //请求方式（GET/POST）
    private String appCode;     //登录到阿里云进入控制台找到已购买的短信接口的AppCode
    private String sign;   //签名编号
    private String skin;   //模版编号
}
